<template>
  <avue-crud :option="option"
             :data="data">
  </avue-crud>
</template>
<script>
export default {
  data () {
    return {
      data: [{
        name: '张三'
      }],
      option: {
        searchBtnText: '查询',
        searchBtnIcon: 'el-icon-user',
        emptyBtnText: '重置',
        emptyBtnIcon: 'el-icon-close',
        column: [{
          label: '姓名',
          prop: 'name',
          search: true,
        }]
      }
    }
  }
}
</script>